<!DOCTYPE html>
<html lang="en">
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>view transition</title>
  <link
    rel="stylesheet"
    href="../assets/scheme/themeSchemeToggle/style.css"
    type="text/css"
  />
  <link rel="stylesheet" href="./style.css" type="text/css" />
  <body>
    <h1>view transition</h1>
    <button id="btn">切换</button>
    <div class="list">
      <div class="item"></div>
      <div class="item"></div>
      <div class="item"></div>
      <div class="item"></div>
      <div class="item"></div>
      <div class="item"></div>
      <div class="item"></div>
      <div class="item"></div>
    </div>
    <script
      src="../assets/scheme/themeSchemeToggle/script.js"
      type="text/javascript"
    ></script>
    <script>
      const btn = document.getElementById("btn");
      btn.addEventListener("click", (e) => {
        handleThemeToggle(e);
      });
    </script>
  </body>
</html>
